package com.foreknow.demo11;

public class Emp {
    public int num;
    public final int count = 10; //常量(只能赋值一次)

    public static void main(String[] args) {
        Emp emp = new Emp();
        emp.num = 20;
        //emp.count = 50;报错，只能赋值一次
    }
}
